<?php
/**
 * 信誉类型
 * @author Ice iceinto@mallog.com.cn
 */
class CreditTypeModel extends BaseModel
{
	/**
	 * 获取类型信息
	 * @author Ice <iceinto@mallog.com.cn>
	 */
	public function getAll(){
		$types = $this->select();
		$typess = array();
		foreach($types as $type){
			$typess[$type['id']] = $type;
		}
		return $typess;
	}
}
?>